Add convenience syntax to install current crate
authorGeorge Hilliard <gh403@msstate.edu>
Fri, 11 Dec 2015 07:18:11 +0000 (01:18 -0600)
committerGeorge Hilliard <gh403@msstate.edu>
Fri, 11 Dec 2015 18:35:15 +0000 (12:35 -0600)
commitddf774438ee4bf635d60a7630f2d2645db43c184
tree8f2cb1b7d4da165dd4e0396cd39273a7f0607564
parent028ac343908f13dc4d6c434fdba73ebd99d3834b
Add convenience syntax to install current crate

Essentially, `cargo install` becomes a synonym for
`cargo install --path .`.  This makes it easy and intuitive to install
the crate in the current directory, as in the following:

    $ cargo build --release
    $ cargo install

Note that this only works from the crate root.

Closes #2142.
src/bin/install.rs
src/cargo/ops/cargo_install.rs